﻿public class Alarm {
    //闹钟备注
    public string Label { get; private set; }
    public Time AlarmTime {
        get; set;
    }
    public int DurationMinute {
        get; set;
    }
    public Alarm() { }
    public Alarm(Time alarmTime, int duration, string label) {
        this.AlarmTime = alarmTime;
        this.DurationMinute = duration;
        this.Label = label;
    }
}